package com.xucia.jsponic.query;

public class CombinationCondition implements Condition {
	public enum Operator {
		And, Or;
	}
	Operator operator;
	Condition cond1;
	Condition cond2;
	public CombinationCondition(Operator operator, Condition cond1,
			Condition cond2) {
		super();
		this.operator = operator;
		this.cond1 = cond1;
		this.cond2 = cond2;
	}
	public Operator getOperator() {
		return operator;
	}
	public Condition getCond1() {
		return cond1;
	}
	public Condition getCond2() {
		return cond2;
	}
}
